/**
 * 我的关注医生
 * @type {string} GET
 * @param {string} {openId}
 */
export function myFollow(data) {
	return new Promise(resolve => {
		uni.$u.http.get("/applet/appoint/myFollow", data).then(info => {
			resolve(info.result)
		})
	})
}
/**
 * 精选医生
 * @type {string} get 
 * @param {string} { openId:微信openId,pageNo,pageSize}
 */
export function winnowDoctor(data) {
	return new Promise(resolve => {
		uni.$u.http.get('/applet/appoint/winnowDoctor', data).then(info => {
			resolve(info.result)
		})
	})
}
/**
 * 最近的分院
 * @type {string} get 
 * @param {string} {localCoordinate,mode}
 */
export function nearestHospital(data) {
	return new Promise(resolve => {
		uni.$u.http.get('/applet/appoint/nearestHospital', data).then(info => {
			resolve(info.result)
		})
	})
}
/**
 * 科室列表
 * @type {string} get 
 * @param {string}
 */
export function deptList(data) {
	return new Promise(resolve => {
		uni.$u.http.get('/applet/appoint/deptList', data).then(info => {
			resolve(info.result)
		})
	})
}
/**
 * 院部（分院下不同科室的医生）
 * @type {string} GET
 * @param {string} { labelName，openId，pageNo，pageSize}
 */
export function hospitalDepartmentList(data) {
	return new Promise(resolve => {
		uni.$u.http.get("/applet/carousel/hospitalDepartmentList", data).then(info => {
			resolve(info.result)
		})
	})
}